package com.example.tse.rbhttpservice.service.member;

import com.example.tse.rbhttpservice.service.member.model.MemberGiftExchangeCodeRequest;
import com.example.tse.rbhttpservice.service.member.model.MemberGiftExchangeCodeResponse;
import  com.example.tse.rbhttpservice.service.RemoteServiceListenerT;

/**
*
* @author wliu
*  edit   tse
*/
public interface MemberGiftService {
/**
* 输入邀请码，验证是否可用，只有新注册（24H之内）且未使用过的用户可以使用邀请码
* @param request
* @param listener
* @return MemberGiftExchangeCodeResponse
*/
void exchangeCode(MemberGiftExchangeCodeRequest request, RemoteServiceListenerT
        <MemberGiftExchangeCodeResponse> listener);

    }
